package com.example.concurrent.chapter08;

/**
 * @author Liuqz
 * @date 2018/11/22 20:18
 *
 * 创建线程的工厂
 */

@FunctionalInterface
public interface ThreadFactory {

    //用于创建线程
    Thread createThread(Runnable runnable);
}
